<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateEsoSchool extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('eso_school', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->string('eso_school_name',128)->comment('学校名字');
            $table->string('eso_school_address',128)->comment('学校地址');
            $table->string('eso_school_tel',128)->comment('学校电话');
            $table->string('eso_school_map_file',128)->comment('map_file');
            $table->string('eso_school_map_name',128)->comment('map_name');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('eso_school');
    }
}
